package com.gopay.common.domain.bank.wechat.sdk.res;

import java.io.Serializable;
import java.util.List;

import com.gopay.common.domain.bank.wechat.BaseReqMsg;
import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * 退款查询响应类
 */
@XStreamAlias("xml")
public class SdkRefundQueryResMsg extends BaseReqMsg implements Serializable {

	private static final long serialVersionUID = -2795571188459988513L;

	/**
	 * 版本号
	 */
	private String version;
	/**
	 * 字符集
	 */
	private String charset;
	/**
	 * 签名方式
	 */
	private String sign_type;
	/**
	 * 返回状态码
	 */
	private String status;
	/**
	 * 返回信息
	 */
	private String message;
	/**
	 * 业务结果
	 */
	private String result_code;
	/**
	 * 商户号
	 */
	private String mch_id;
	/**
	 * 设备号
	 */
	private String device_info;
	/**
	 * 随即字符串
	 */
	private String nonce_str;
	/**
	 * 错误代码
	 */
	private String err_code;
	/**
	 * 签名
	 */
	private String sign;
	/**
	 * 威富通订单号
	 */
	private String transaction_id;
	/**
	 * 商户订单号
	 */
	private String out_trade_no;
	/**
	 * 退款笔数
	 */
	private int refund_count;

	/**
	 * N次退款明细
	 */
	private List<SdkRefundItem> refundItems;
    /**
     * 错误描述
     */
    private String err_msg;
    
    private String out_transaction_id;
    private String trade_state_desc;
    private String total_fee;
    private String trade_type;
	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getCharset() {
		return charset;
	}

	public void setCharset(String charset) {
		this.charset = charset;
	}

	public String getSign_type() {
		return sign_type;
	}

	public void setSign_type(String sign_type) {
		this.sign_type = sign_type;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getResult_code() {
		return result_code;
	}

	public void setResult_code(String result_code) {
		this.result_code = result_code;
	}

	public String getMch_id() {
		return mch_id;
	}

	public void setMch_id(String mch_id) {
		this.mch_id = mch_id;
	}

	public String getDevice_info() {
		return device_info;
	}

	public void setDevice_info(String device_info) {
		this.device_info = device_info;
	}

	public String getNonce_str() {
		return nonce_str;
	}

	public void setNonce_str(String nonce_str) {
		this.nonce_str = nonce_str;
	}

	public String getErr_code() {
		return err_code;
	}

	public void setErr_code(String err_code) {
		this.err_code = err_code;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public String getTransaction_id() {
		return transaction_id;
	}

	public void setTransaction_id(String transaction_id) {
		this.transaction_id = transaction_id;
	}

	public String getOut_trade_no() {
		return out_trade_no;
	}

	public void setOut_trade_no(String out_trade_no) {
		this.out_trade_no = out_trade_no;
	}
	
	public int getRefund_count() {
		return refund_count;
	}

	public void setRefund_count(int refund_count) {
		this.refund_count = refund_count;
	}

	public List<SdkRefundItem> getRefundItems() {
		return refundItems;
	}

	public void setRefundItems(List<SdkRefundItem> refundItems) {
		this.refundItems = refundItems;
	}

	public String getErr_msg() {
		return err_msg;
	}

	public void setErr_msg(String err_msg) {
		this.err_msg = err_msg;
	}

	public String getOut_transaction_id() {
		return out_transaction_id;
	}

	public void setOut_transaction_id(String out_transaction_id) {
		this.out_transaction_id = out_transaction_id;
	}

	public String getTrade_state_desc() {
		return trade_state_desc;
	}

	public void setTrade_state_desc(String trade_state_desc) {
		this.trade_state_desc = trade_state_desc;
	}

	public String getTotal_fee() {
		return total_fee;
	}

	public void setTotal_fee(String total_fee) {
		this.total_fee = total_fee;
	}

	public String getTrade_type() {
		return trade_type;
	}

	public void setTrade_type(String trade_type) {
		this.trade_type = trade_type;
	}

}
